{% extends 'learn_app/base.html' %}
{% block header %}删除条目{% endblock %}
{% block content %}
确定要删除{{'entry'}}吗?此操作不可恢复！
<form action="{% url 'learn_app:del_entry' entry.id %}"method="post" style="display: inline ">
    {% csrf_token %}
    <button type="submit" class="btn btn-danger btn-sm">确定删除<br></button>
    <a href="{% url 'learn_app:topic' topic.id %}" class="btn btn-secondary">取消</a>
</form>
{% endblock %}